package com.gdk.dao;

import java.util.List;
import java.util.Map;


/**
 * 会议dao
 * */

public interface FairDao {
	//查询所有会议
	List<Map<String,Object>> findAllFair(Map<String,Object> map);
	//新增会议
	int addFair(Map<String,Object> map);
	//更改会议状态 
	int updateFairStatus(Map<String,Object> map);
	//查询会议详情
	Map<String,Object> findFairDetails(Map<String,Object> map);
	//修改会议详情 
	int updateFairDetails(Map<String,Object> map);
	
	//新增酒店和会议绑定
	int bindFairAndHotel(Map<String,Object> map);
	//查询酒店会议绑定详情
	List<Map<String,Object>>  findBindFairAndHotel(Map<String,Object> map);
	//修改酒店会议绑定关系 
	int updateBindFairAndHotel(Map<String,Object> map);
	//新增用户和会议绑定
	int bindUserAndFair(Map<String,Object> map);
	//查询用户绑定的会议
	List<Map<String,Object>> selectUserBindFair(Map<String,Object> map);
	//查询所有会议和用户
	List<Map<String,Object>> findAllFairAndUser(Map<String,Object> map);
	//修改会议用户绑定关系
	int updateBindFairAndUser(Map<String,Object> map);
	//删除会议用户绑定
	int deleteBindFairAndUser(Map<String,Object> map);
	// 删除会议酒店绑定
	int deleteBindFairAndHotel(Map<String,Object> map);
	
	//删除会议
	int delFair(Map<String,Object> map);
	
}
